home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / dl_exsrc.zoo / lmemmove.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-28  |  415 b   |  22 lines

  1. #include <string.h>
  2. #include "extras.h"
  3.  
  4. /* Note that the MiNTlibs' _bcopy() has all the necessary semantics of
  5.    memmove() regarding overlapping objects. */
  6.  
  7. char *lmemmove(dest, source, len)
  8.   char *dest, *source;
  9.   long len;
  10. {
  11.   _bcopy(source, dest, len);
  12.   return dest;
  13. }
  14.  
  15. char *lmemcpy(dest, source, len)
  16.   char *dest, *source;
  17.   long len;
  18. {
  19.   _bcopy(source, dest, len);
  20.   return dest;
  21. }
  22.